package com.ruoyi.wechat.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营地预约详情对象 c_details
 * 
 * @author ruoyi
 * @date 2024-07-30
 */
@ApiModel(value = "Details", description = "营地预约详情对象")
public class Details extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约详情Id */
    @ApiModelProperty(value = "预约详情Id(添加时为空即可)")
    private String detailId;

    /** 预约Id */
    @Excel(name = "预约Id")
    @ApiModelProperty(value = "预约Id")
    private String appointId;

    /** 产品类型 */
    @Excel(name = "产品类型")
    @ApiModelProperty(value = "产品类型")
    private String type;

    /** 营位Id */
    @Excel(name = "营位Id")
    @ApiModelProperty(value = "营位Id")
    private String campsiteId;

    /** 项目Id */
    @Excel(name = "项目Id")
    @ApiModelProperty(value = "项目Id")
    private String projectId;

    /** 活动Id */
    @Excel(name = "活动Id")
    @ApiModelProperty(value = "活动Id")
    private String activityId;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private Long number;

    /** 金额 */
    @Excel(name = "金额")
    @ApiModelProperty(value = "金额")
    private BigDecimal unitPrice;

    public void setDetailId(String detailId) 
    {
        this.detailId = detailId;
    }

    public String getDetailId() 
    {
        return detailId;
    }
    public void setAppointId(String appointId) 
    {
        this.appointId = appointId;
    }

    public String getAppointId() 
    {
        return appointId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCampsiteId(String campsiteId) 
    {
        this.campsiteId = campsiteId;
    }

    public String getCampsiteId() 
    {
        return campsiteId;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setActivityId(String activityId) 
    {
        this.activityId = activityId;
    }

    public String getActivityId() 
    {
        return activityId;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("appointId", getAppointId())
            .append("type", getType())
            .append("campsiteId", getCampsiteId())
            .append("projectId", getProjectId())
            .append("activityId", getActivityId())
            .append("number", getNumber())
            .append("unitPrice", getUnitPrice())
            .toString();
    }
}
